package com.kevin.handler;

/**
 * 抽象处理者
 *
 * @author kevin
 * @date 2025/8/22
 */
public abstract class Handler {

    private Handler next;

    public abstract void handleRequest(String request);

    public void setNext(Handler next) {
        this.next = next;
    }

    public Handler getNext() {
        return next;
    }
}
